import request from "@/utils/request";
import { stringify } from "qs";

//根据条件获取所有系统商品id
export async function getAllSysIdByCondition(params) {
	return request(`/new-goods/goods/sku/getAllSysIdByCondition?${stringify(params)}`);
}

//过滤更新商品
export async function filterUpdateSysGoodsSku(params) {
	return request(`/new-goods/goods/sku/filterUpdateSysGoodsSku`, {
		method: "post",
		data: params
	});
}

